package com.guoxue.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.guoxue.dao.IClientToServerDao;
import com.guoxue.domain.ClientToServerVo;
import com.guoxue.service.IClientToServerService;
@Service("clientToServerServiceImpl")
public class ClientToServerServiceImpl  implements IClientToServerService{

	@Autowired  
    private IClientToServerDao clientToServerDao;
  
      
	@Override
	public void saveClientToServerInfo(ClientToServerVo sendVo) {
		// TODO Auto-generated method stub
		clientToServerDao.saveClientToServerInfo(sendVo);
	}

	@Override
	public List<ClientToServerVo> getclientToServerInfoList() {
		// TODO Auto-generated method stub
		return clientToServerDao.getClientToServerinfoList();
	}
	
	@Override
	public ClientToServerVo getclientToServerbyUid(int uid,int isType){
		// TODO Auto-generated method stub
		return clientToServerDao.getClientToServerbyUid(uid,isType);
	}
}
